package com.tencent.wuyanzu.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.tencent.wuyanzu.dao.BaseDao;
import com.tencent.wuyanzu.dao.RestaurantDao;
import com.tencent.wuyanzu.model.Restaurant;

@Repository
public class RestaurantDaoImpl implements RestaurantDao{

	
	@Autowired
	private BaseDao baseDao;
	
	
	@Override
	public List<Restaurant> getAllRestaurant() {
		return baseDao.getAllValues(Restaurant.class);
	}

}
